import 'package:get/get.dart';
import 'package:getx_study/better_player/BetterPlayerPage.dart';
import 'package:getx_study/counter_high_get/view.dart';
import 'package:getx_study/get_jump_one/view.dart';
import 'package:getx_study/get_jump_two/view.dart';
import 'package:getx_study/video_list/logic.dart';
import 'package:getx_study/video_list/view.dart';
import 'package:getx_study/video_player/VideoPlayerPage.dart';

import '../main.dart';

class RouteConfig {
  static final String main = "/";

  ///GetX 计数器  跨页面交互
  static final String getCounterRx = "/getCounterRx";
  static final String getCounterEasy = "/counterEasyGet";
  static final String getCounterHigh = "/counterHighGet";
  static final String getJumpOne = "/jumpOne";
  static final String getJumpTwo = "/jumpOne/jumpTwo";
  static final String getCounterBinding = "/getCounterBinding";
  static final String getVideoPlayer = "/getVideoPlayer";
  static final String getVideoList = "/getVideoList";
  static final String getBetterPlayer = "/getBetterPlayer";


  ///别名映射页面
  static final List<GetPage> getPages = [
    GetPage(name: getJumpOne, page: () => GetJumpOnePage()),
    GetPage(name: getJumpTwo, page: () => GetJumpTwoPage()),
    GetPage(name: getCounterHigh, page: () => CounterHighGetPage()),
    GetPage(name: getVideoPlayer, page: () => VideoPlayerPage()),
    GetPage(name: getVideoList, page: () => VideoListPage()),
    GetPage(name: getBetterPlayer, page: () => BetterPlayerPage()),


  ];
}
